package io.lckgroup.modules.lck.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单明细表
 *
 * @author srq
 * @email siruiqi@siruiqi.com
 * @date 2020-01-19 19:14:40
 */
@Data
@TableName("of_order_detail")
public class OrderDetailEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 订单明细表ID
     */
    @TableId
    private Long id;
    /**
     * 订单主表ID
     */
    private Long orderMainId;
    /**
     * 菜品ID
     */
    private Long foodId;
    /**
     * 菜品价格
     */
    private BigDecimal foodPrice;
    /**
     * 菜品数量
     */
    private Integer foodNum;
    /**
     * 菜品规格名称
     */
    private String foodSpecs;
    /**
     * 菜品名称
     */
    private String foodName;
    /**
     * 菜品图片URL
     */
    private String imgUrl;

}
